import Layout from '@/layout' // 必须先导入布局
export default {
  path: '/departments',
  name: 'departments',
  component: Layout,
  children: [{
    path: '', // 不写既有Layout 又有employees
    name: 'departments',
    component: () => import ('@/views/departments'),
    meta: {
      title: '组织架构',
      icon: 'tree'
    }
  }]
}
